package com.android.jump.physics;

public interface Collide extends Basic
{
    class Circle {
        private double x;
        private double y;
        private double r;
        
        public Circle(double nx, double ny, double nr) {
            x = nx;
            y = ny;
            r = nr;
        }
        
        public double getX() {
            return x;
        }
        
        public double getY() {
            return y;
        }
        
        public double getR() {
            return r;
        }
    }
    // too simple to be useful
    public boolean isCollide(Collide obj);
    // relative to the object position
    public void setArea(double x, double y, double radius);
    public Circle getArea();
}
